
import { defineStore } from 'pinia';
import { kes } from '@/api/Home.ts';

let useKes = defineStore('kes', {
    state: () => {
        return {
            kes: {}
        }
    },

    actions: {
        async kesData() {
            let response = await kes();
            console.log("kes", response.data);
            this.kes = response.data;
        }

    },

    getters: {}

})

export default useKes;
